﻿//char.h用来放置控制台像素格模拟字符的字符库实现
#pragma once
#include"source.h"
#define F_red FOREGROUND_RED 
#define F_inten FOREGROUND_INTENSITY

/*输出一个字母或是数字*/
void Print_c(char, COORD, int color = F_red | F_inten, int bColor = -1);

/*指定(x,y)位置字符输出函数，不可包含&%等复杂符号*/
void Print(string, int x = 30, int y = 30, int Fcolor = F_red | F_inten, int Bcolor = -1);
void Print(int num, int x = 30, int y = 30, int Fcolor = F_red | F_inten, int Bcolor = -1);

namespace GlobalSet
{
	void InitPrint();
}

const int CELLWIDTH = 7;	//字符每格宽度
const int CELLHIGHT = 11;	//字符每格高度
